
<script>
	import { mapMutations } from 'vuex'
	export default {
		methods: {
			...mapMutations(['login'])	
		},
		onLaunch() {
			
			uni.chooseLocation({
			    success: function (res) {
			        console.log('位置名称：' + res.name);
			        console.log('详细地址：' + res.address);
			        console.log('纬度：' + res.latitude);
			        console.log('经度：' + res.longitude);
			    }
			});	
		},
		onShow: function() {
		},
		onHide: function() {
		}
	}
</script>

<style lang="scss">
	@import "common/iconfont/iconfont.css";
	@import '~@/static/styles/app.scss';
</style>
